package com.itqf.ipmsys.service;

import com.itqf.ipmsys.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author corn
 * @since 2021-09-22
 */
public interface PermissionService extends IService<Permission> {

    /**
     * 根据roleids查询权限集合
     * @param roleIds
     * @return
     */
    List<Permission> findPermissionsByRoleIds(List<Integer> roleIds);
}
